﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ConnectToDatabase.Model
{
    [Serializable()]
    public class DauSanPham
    {
        string m_sMaDauSanPham;
        string m_sMaLoaiSanPham;
        string m_sTenDauSanPham;
        string m_sMaNhaPP;
        int m_iGiaBan;
        int m_iThoiHanBan;
        int m_iTinhTrang;        

        public string MaDauSanPham
        {
            get { return m_sMaDauSanPham; }
            set { m_sMaDauSanPham = value; }
        }
        public string MaLoaiSanPham
        {
            get { return m_sMaLoaiSanPham; }
            set { m_sMaLoaiSanPham = value; }
        }
        public string TenDauSanPham
        {
            get { return m_sTenDauSanPham; }
            set { m_sTenDauSanPham = value; }
        }
        public string MaNhaPP
        {
            get { return m_sMaNhaPP; }
            set { m_sMaNhaPP = value; }
        }
        public int GiaBan
        {
            get { return m_iGiaBan; }
            set { m_iGiaBan = value; }
        }
        public int ThoiHanBan
        {
            get { return m_iThoiHanBan; }
            set { m_iThoiHanBan = value; }
        }
        public int TinhTrang
        {
            get { return m_iTinhTrang; }
            set { m_iTinhTrang = value; }
        }
    }
}
